<div class="choseInput" style="width:800px; margin-top: 20px;">
    <div class="form-group">
        <button class="col-sm-3 btn btn-default" ng-click="chooseCustomer = !chooseCustomer;chooseCustomer2=false;">
            选择客户
        </button>
        <div class="col-sm-9">
            {{detail.storeName}}
        </div>
    </div>
    <div class="form-group">
        <button class="col-sm-3 btn btn-default" ng-click="chooseCustomer2 = !chooseCustomer2; chooseCustomer = false;">
            添加商品
        </button>
        <div class="col-sm-9">
            <div ng-repeat="item in detail.commoditys">
                名称:{{item.name}} <span ng-if="item.commodityName">{{item.commodityName}}</span>
                数量: <input ng-model="item.number" style="width:100px;height:30px" type="number">
                单价：<input ng-model="item.outPrice" style="width:100px;height:30px" type="number">
                <a ng-click="removeCart(item.commodityId)">删除</a>
            </div>
        </div>
    </div>
    <div class="form-group">
        <button class="col-sm-3 btn btn-default">备注</button>
        <div class="col-sm-9">
            <input type="text" class="form-control" ng-model="detail.remarks" placeholder="备注">
        </div>
    </div>
    <div class="form-group">
        <button class="col-sm-3 btn btn-default">送货时间</button>
        <div class="col-sm-9">
            <span>默认明天（{{day}}）</span>
            <!--<input class=" form-control" type="date" ng-model="detail.receivingDate" placeholder="送货时间" value="detail.receivingDate | date:'yyyy-MM-dd'">-->
            <select class="select" ng-model="detail.receivingDate">
                <option ng-selected="true" value="">选择时间段</option>
                <option value="06:00～06:30">06:00～06:30</option>
                <option value="06:30～07:00">06:30～07:00</option>
                <option value="07:00～07:30">07:00～07:30</option>
                <option value="07:30～08:00">07:30～08:00</option>
                <option value="08:00～08:30">08:00～08:30</option>
                <option value="08:30～09:00">08:30～09:00</option>
                <option value="09:00～09:30">09:00～09:30</option>
                <option value="09:30～10:00">09:30～10:00</option>
                <option value="10:00～10:30">10:00～10:30</option>
                <option value="10:30～11:00">10:30～11:00</option>
                <option value="11:00～11:30">11:00～11:30</option>
                <option value="11:30～12:00">11:30～12:00</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-3 col-sm-9">
            <a class="btn btn-default" ng-click="submit()">生成订单</a>
        </div>
    </div>
</div>
<div class="slider_right_lg {{ chooseCustomer ? 'active' : 'default' }}">
    <button type="button" class="btn btn-sm pull-left" style="margin-left: 15px; margin-top: 14px;"
            ng-click="chooseCustomer = !chooseCustomer">关闭
    </button>
    <cdschoselinecustom customerid="detail.customerId" customername="detail.storeName"></cdschoselinecustom>
</div>
<div class="slider_right_lg {{ chooseCustomer2 ? 'active' : 'default' }}">
    <button type="button" class="btn btn-sm pull-left" style="margin-left: 15px; margin-top: 14px;"
            ng-click="chooseCustomer2 = !chooseCustomer2">关闭
    </button>
    <choseproduct commoditys="detail.commoditys"></choseproduct>

</div>